package com.lukebang.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.lukebang.pojo.GoodSpecial;

/**
 * 
 * GoodSpecialDAO 上午11:45:28 Copyright zhaocj Inc. All Rights reserved.
 * alldios@outlook.com
 *
 */
public interface GoodSpecialDAO {

	List<GoodSpecial> selectGoodSpecialsByGood(@Param("goodsId") Integer goodsId);

	Integer insertGoodsSpecial(GoodSpecial goodSpecial);

	// 查找头配件的信息
	List<Map<String, Object>> selectTouPeiJian(@Param("goodsId") Integer goodsId,
			@Param("goodsIdChild") int goodsIdChild, @Param("type") int type);

	// 查找成品帘信息
	List<Map<String, Object>> selectFinishedCurtains(Integer goodsId);
}
